package com.qixin.modules.eaStandard.service;

import com.qixin.modules.eaStandard.entity.EaHotelstandarddtl;
import com.qixin.modules.eaStandard.entity.EaHotelstandard;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * @Description: 酒店住宿标准
 * @Author: qixin-boot
 * @Date:   2021-07-17
 * @Version: V1.0
 */
public interface IEaHotelstandardService extends IService<EaHotelstandard> {

	/**
	 * 添加一对多
	 *
	 */
	public Map<String,Object> saveMain(EaHotelstandard eaHotelstandard, List<EaHotelstandarddtl> eaHotelstandarddtlList) ;

	/**
	 * 修改一对多
	 *
	 */
	public Map<String,Object> updateMain(EaHotelstandard eaHotelstandard,List<EaHotelstandarddtl> eaHotelstandarddtlList);

	/**
	 * 删除一对多
	 */
	public void delMain (String id);

	/**
	 * 批量删除一对多
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);

}
